package com.wooming.myserver.service.inter;

import com.wooming.myserver.dto.HeadshotDTO;
import com.wooming.myserver.entity.User;
import jakarta.servlet.http.HttpServletResponse;

/**
 * 头像服务接口
 *
 * @author Wooming 2025/05/22
 */
public interface HeadshotService {
    User verify(String jwt) throws Exception;
    boolean upload(User user, HeadshotDTO headshotDTO) throws Exception;
    boolean sendHeadshot(HttpServletResponse response, User user) throws Exception;
}
